<ion-view view-title="抽奖" class ="myworld_sale_connectagency">
	<ion-content>
  		<div class="list list-borderless" >
  			  <li class="item item-divider">
  			  	秒杀抽奖活动
  			  </li>
  			  <li class="item padding item-text-wrap">
  			    	 当前订单总数<span class="royal">{{order.length}}</span>笔，满足抽奖条件，可以抽选数655
  			  </li>
  			  <!--button-calm-->
  			  <li class="item padding-0 item-borderless">
  			  	<div class="button-bar padding">
		     	 <button class="button button-small  font-large-my" ng-class="{'button-calm':draw_type==1}" on-tap="getDrawType(1)">自动抽奖</button>
		     	 <button class="button button-small  col-offset-10 font-large-my" ng-class="{'button-calm':draw_type==2}" on-tap="getDrawType(2)">手动抽奖</button>
     			</div>
  			  </li>
  		   <li class="item padding-5">
			   <table border="1" cellpadding="0" cellspacing="0" width="100%">
			   	 <tr>
			   	 	<td>订单号</td>
			   	 	<td>中奖者</td>
			   	 	<td>操作</td>
			   	 </tr>
			   	  <tr ng-repeat="num in order">
			   	 	<td>{{num.order_id}}</td>
			   	 	<td>{{num.name}}</td>
			   	 	<td class="assertive" on-tap="delete_act({{num.order_id}})" ng-show="draw_type==1">删除</td>
			   	 	<td ng-show="draw_type==2">
			   	 		<input type="checkbox" class="radio_size_zhang" />
			   	 	</td>
			   	 </tr>
			   </table>
			 </li>
  		</div>
  		
  		<div class="button-bar padding">
     	 <button class="button  button-assertive">放弃</button>
     	 <button class="button  button-positive col-offset-10">开奖</button>
     </div>

	</ion-content>
</ion-view>